// DL_Researcher_demoDlg.h : header file
//

#if !defined(AFX_DL_RESEARCHER_DEMODLG_H__127CEA76_A796_4DD7_A6CD_F70AEB17B5C6__INCLUDED_)
#define AFX_DL_RESEARCHER_DEMODLG_H__127CEA76_A796_4DD7_A6CD_F70AEB17B5C6__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "MyAnimateCtrl.h"

/////////////////////////////////////////////////////////////////////////////
// CDL_Researcher_demoDlg dialog

class CDL_Researcher_demoDlg : public CDialog
{
// Construction
public:
	void UpdateEdit();
	CDL_Researcher_demoDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CDL_Researcher_demoDlg)
	enum { IDD = IDD_DL_RESEARCHER_DEMO_DIALOG };
	MyAnimateCtrl	m_MyAnimate;
	CEdit	m_DisplayCtr;
	CComboBox	m_AlarmState;
	CComboBox	m_AGCStatusSel;
	CComboBox	m_EnhanceTypeSel;
	CComboBox	m_FilterTypeSel;
	CComboBox	m_FlipModeSel;
	CEdit	m_Ellipse1Res;
	CEdit	m_Area1Res;
	CEdit	m_Line1Res;
	CComboBox	m_EllipTempTypeSel;
	CComboBox	m_AreaTempTypeSel;
	CComboBox	m_TempTypeSel;
	CComboBox	m_ColorRulerSel;
	CComboBox	m_PlaySpeedSel;
	CEdit	m_Spot3Res;
	CEdit	m_Spot2Res;
	CEdit	m_Spot1Res;
	CString	m_displaytext;
	CString s_GotoTime;
	long	m_GotoTime;
	BOOL	m_Spot1;
	int		m_Spot1X;
	int		m_Spot1Y;
	int		m_Line1X1;
	int		m_Line1X2;
	int		m_Line1Y2;
	int		m_Line1Y1;
	BOOL	m_Line1;
	BOOL	m_Area1;
	BOOL	m_Spot2;
	BOOL	m_Spot3;
	BOOL	m_Ellipse1;
	int		m_Area1X1;
	int		m_Area1Y1;
	int		m_Area1X2;
	int		m_Ellipse1X;
	int		m_Ellipse1Y;
	int		m_Ellipse1R;
	int		m_Spot2X;
	int		m_Spot2Y;
	int		m_Area1Y2;
	int		m_Spot3X;
	int		m_Spot3Y;
	int     m_PlayState;
	BOOL    m_FileState;
	BOOL	m_TempTypeState;
	BOOL	m_SetEmissDisState;
	BOOL	m_SetAmbHumState;
	BOOL	m_SetAtmoTemp;
	BOOL	m_SetCorrectParamState;
	BOOL	m_SetMeasureTempVersion;
	BOOL	m_SetAGCStatus;
	BOOL	m_SetHistogramLevel;
	BOOL	m_SetHistogramGain;
	BOOL	m_SetMaxContrastCtrl;
	char	* szFilePath;
	float	m_SetEmiss;
	float	m_SetDis;
	float	m_SetAmb;
	float	m_SetHum;
	float	m_SetQuot;
	float	m_SetTemp;
	int		m_SetGray;
	int		m_SetMTVer;
	int		m_HistogramLevel;
	int		m_HistogramGain;
	int		m_HistogramComboModeLevel;
	int		m_HistogramComboModeGain;
	int		m_MaxContrastCtrl;
	float	m_AlarmTemp;
	CString	m_AlarmSound;
	float	m_LocalTemp;
	int		m_RefleshPic;
	float	m_AtmoTemp;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDL_Researcher_demoDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL	

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CDL_Researcher_demoDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtonLoadfile();
	afx_msg void OnButtonplay();
	afx_msg void OnButtonpointtemp();
	afx_msg void OnButtonSetEnhanceType();
	afx_msg void OnButtonStop();
	afx_msg void OnButtonStepNext();
	afx_msg void OnButtonStepPrior();
	afx_msg void OnButtonGotoTime();
	afx_msg void OnButtonLineTemp();
	afx_msg void OnButtonRectTemp();
	afx_msg void OnButtonCircleTemp();
	afx_msg void OnCheckSpot1();
	afx_msg void OnCheckSpot2();
	afx_msg void OnCheckSpot3();
	afx_msg void OnCheckLine1();
	afx_msg void OnCheckArea1();
	afx_msg void OnCheckEllipse1();
	afx_msg void OnButtonCircleAverageTemp();
	afx_msg void OnUpdateEditSpot1X();
	afx_msg void OnUpdateEditSpot1Y();
	afx_msg void OnButtonCloseFile();
	afx_msg void OnButtonPlaySpeed();
	afx_msg void OnButtonColorRuler();
	afx_msg void OnButtonTempType();
	afx_msg void OnButtonMemSaveToJPG();
	afx_msg void OnButtonInfraredFileToJPG();
	afx_msg void OnButtonLineAverageTemp();
	afx_msg void OnButtontLineMinMaxTemp();
	afx_msg void OnButtonRectAverageTemp();
	afx_msg void OnButtonRectMinMaxTemp();
	afx_msg void OnButtonCircleMinMaxTemp();
	afx_msg void OnUpdateEditSpot2X();
	afx_msg void OnUpdateEditSpot2Y();
	afx_msg void OnUpdateEditSpot3X();
	afx_msg void OnUpdateEditSpot3Y();
	afx_msg void OnUpdateEditLine1X1();
	afx_msg void OnUpdateEditLine1Y1();
	afx_msg void OnUpdateEditLine1X2();
	afx_msg void OnUpdateEditLine1Y2();
	afx_msg void OnUpdateEditArea1X1();
	afx_msg void OnUpdateEditArea1Y1();
	afx_msg void OnUpdateEditArea1X2();
	afx_msg void OnUpdateEditArea1Y2();
	afx_msg void OnButtonGetSysInfo();
	afx_msg void OnButtonGetTempInfo();
	afx_msg void OnButtonCleanAll();
	afx_msg void OnButtonCleanSpot();
	afx_msg void OnButtonCleanLine();
	afx_msg void OnButtonCleanArea();
	afx_msg void OnButtonCleanEllipse();
	afx_msg void OnButtonSetEmissDis();
	afx_msg void OnButtonSetAmbHum();
	afx_msg void OnButtonSetCorrectParam();
	afx_msg void OnButtonSetMeasureTempVersion();
	afx_msg void OnButtonSetImageFlipMode();
	afx_msg void OnButtonSetFilterType();
	afx_msg void OnButtonSetAGCStatus();
	afx_msg LRESULT OnPlayStop(WPARAM w,LPARAM l);
	afx_msg void OnUpdateEditSetEmiss();
	afx_msg void OnUpdateEditSetDis();
	afx_msg void OnUpdateEditSetAmb();
	afx_msg void OnUpdateEditSetHum();
	afx_msg void OnUpdateEditSetQuot();
	afx_msg void OnUpdateEditSetTemp();
	afx_msg void OnUpdateEditSetGray();
	afx_msg void OnButtonHistogramLevel();
	afx_msg void OnUpdateEditHistogramLevel();
	afx_msg void OnButtonHistogramGain();
	afx_msg void OnUpdateEditHistogramGain();
	afx_msg void OnButtonHistogramComboModeLevel();
	afx_msg void OnUpdateEditHistogramComboModeLevel();
	afx_msg void OnButtonHistogramComboModeGain();
	afx_msg void OnUpdateEditHistogramComboModeGain();
	afx_msg void OnButtonMaxContrastCtrl();
	afx_msg void OnUpdateEditMaxContrastCtrl();
	afx_msg void OnUpdateEditGotoTime();
	afx_msg void OnUpdateEditAlarmTemp();
	afx_msg void OnButtonAlarmSound();
	afx_msg void OnUpdateEditLocalTemp();
	afx_msg void OnKillfocusEditEllipse1X();
	afx_msg void OnKillfocusEditEllipse1Y();
	afx_msg void OnKillfocusEditEllipse1R();
	afx_msg void OnButtonGetImageWidthHeight();
	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
	afx_msg void OnMove(int x, int y);
	afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);  
	afx_msg void OnButtonAtmoTemp();
	afx_msg void OnButtonInfraredFileToBMP();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DL_RESEARCHER_DEMODLG_H__127CEA76_A796_4DD7_A6CD_F70AEB17B5C6__INCLUDED_)
